package com.maven.accountmanager.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;

/**
 * 银行帐号
 * @author Administrator
 *
 */
@Entity
@Table(name="t_finance_bank_account")
public class BankAccount {
	/**
	 * UUID主键
	 */
	@Id
	@Column(name="id")
	@GenericGenerator(name="idGenerator",strategy="uuid")
	@GeneratedValue(generator="idGenerator")
	private String id;
	/**
	 * 银行帐号
	 */
	@Column(name="account_number")
	private String accountNumber;
	/**
	 * 银行密码
	 */
	@Column(name="account_password")
	private String accountPassword;
	/**
	 * 所属银行
	 */
	@Column(name="belongs_bank")
	private String belongsBank;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getAccountNumber() {
		return accountNumber;
	}
	public void setAccountNumber(String accountNumber) {
		this.accountNumber = accountNumber;
	}
	public String getAccountPassword() {
		return accountPassword;
	}
	public void setAccountPassword(String accountPassword) {
		this.accountPassword = accountPassword;
	}
	public String getBelongsBank() {
		return belongsBank;
	}
	public void setBelongsBank(String belongsBank) {
		this.belongsBank = belongsBank;
	}
	
}
